package com.ray.tcc.common.bean.entity;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;


/**
 * @author ray
 */
@Data
@AllArgsConstructor
public class TccInvocation implements Serializable {

    private static final long serialVersionUID = -5108578223428529356L;

    @Getter
    private Class<?> targetClass;


    @Getter
    private String methodName;

    @Getter
    private Class<?>[] parameterTypes;

    @Getter
    private Object[] args;


    public TccInvocation(){

    }
    
  /*  public TccInvocation(Class<?> clazz, String confirmMethodName, Class<?>[] parameterTypes, Object[] args) {
		this.targetClass = clazz;
		this.methodName = confirmMethodName;
		this.parameterTypes = parameterTypes;
		this.args = args;
	}*/


	public Class<?> getTargetClass() {
		return targetClass;
	}


	public void setTargetClass(Class<?> targetClass) {
		this.targetClass = targetClass;
	}


	public String getMethodName() {
		return methodName;
	}


	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}


	public Class<?>[] getParameterTypes() {
		return parameterTypes;
	}


	public void setParameterTypes(Class<?>[] parameterTypes) {
		this.parameterTypes = parameterTypes;
	}


	public Object[] getArgs() {
		return args;
	}


	public void setArgs(Object[] args) {
		this.args = args;
	}



}
